package cn.getech.data.development.constant;

import lombok.Getter;

@Getter
public enum StorageEngineEnum {
    HIVE(1,"Hive",true,true,true),
    KUDU(2,"Kudu",true,false,false),
    IMPALA(3,"Impala",false,true,true);

    StorageEngineEnum(Integer code, String name,boolean dataAsync,boolean outputTask,boolean sqlTask){
        this.name = name;
        this.code=code;
        this.dataAsync = dataAsync;
        this.outputTask = outputTask;
        this.sqlTask = sqlTask;
    }
    private String name;
    private Integer code;
    private boolean dataAsync;
    private boolean outputTask;
    private boolean sqlTask;
}
